package com.zy.chat.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.chat.entity.MsgSession;
import com.zy.chat.entity.SingleMessages;

import java.util.List;
import java.util.Map;

public interface MsgSessionService extends IService<MsgSession> {

    Map<String,Integer> queryAll(String username);

    Integer update(String username,String touser,Integer noreadnum);

    Integer offlineInsert(String usrename,String touser);


}
